#pragma once

#include <QWidget>
#include "ui_EmotionWindow.h"
#include "EmotionLabel.h"

class EmotionWindow : public QWidget
{
	Q_OBJECT

public:
	EmotionWindow(QWidget *parent = Q_NULLPTR);
	~EmotionWindow();

private:
	void init();
	void initControl();
	EmotionLabel* initEmotionLabel(int name);

signals:
	void addEmotion(int name);

protected:
	virtual void paintEvent(QPaintEvent *event);

private:
	Ui::EmotionWindow ui;
	//const int rowCnt = 12;
	const int colCnt = 14;
};
